#ifndef MYGRAPHICSVIEW_H
#define MYGRAPHICSVIEW_H

#include <QGraphicsView>



class MyGraphicsView :public QGraphicsView
{
public:
    int scale_m=1;
    MyGraphicsView(QWidget *parent = nullptr);


protected:
    void wheelEvent(QWheelEvent *event);

    // QWidget interface
protected:
    void mousePressEvent(QMouseEvent *event);
};

#endif // MYGRAPHICSVIEW_H
